<html>
<header>
    <meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
</header>
<body>
    <table border='1'>
        <tr>
            <th>ID</th>
            <th>NOME</th>
		  <th>CPF</th>
		  <th>TELEFONE</th>
		  <th>EMAIL</th>
		  <th>CIDADE</th>
            <th>INSTITUICAO</th>
        <tr>
<?php
$server = "localhost";
$username = "conbrad_site";
$passwd = "YTdkNTA0OWM3ODEyYzZi";
$database = "esw_conbrad";

$sql = "select * from inscricao";
$conexao = mysql_connect($server, $username, $passwd);
mysql_select_db($database);
$result = mysql_query($sql, $conexao);
while($inscricao = mysql_fetch_array($result)){
    echo "
        <tr>
            <td>".$inscricao['id']."</tdh>
            <td>".$inscricao['nome']."</td>
            <td>".$inscricao['cpf']."</td>
            <td>".$inscricao['email']."</td>
            <td>".$inscricao['telefone']."</td>
            <td>".$inscricao['cidade']."</td>
            <td>".$inscricao['instituicao']."</td>

        <tr>";
}
mysql_close($conexao);
?>
</table>
</body>
</html>
